rub up against (someone)

Translations
тереться о (кого-то)
The cat likes to rub up against my leg.
Кошка любит тереться о мою ногу.